import Util from "./util.js"

function onbuttonclick(idStr, param)
{

    switch(idStr)
    {
        case "dockLeft":{
            let tsId = Application.PluginStorage.getItem("taskpane_id")
            if (tsId){
                let tskpane = Application.GetTaskPane(tsId)
                tskpane.DockPosition = Application.Enum.msoCTPDockPositionLeft
            }
            break
            }
        }
}

export default{
    onbuttonclick
}

